/**
 * 
 */
package br.com.doclayer.utils;

import java.io.File;
import java.io.IOException;

/**
 * @author helder
 * 
 */
public class DocUtils {

  public static String getContentType(File file) throws IOException {
    return file.toURI().toURL().openConnection().getContentType();
  }

}
